package net.huashitong.ssydt.base.service;

import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.11.14
 */
public interface BaseService<T, I extends Serializable> {

    int deleteByPrimaryKey(I id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(I id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
